package com.fun.feifun.job.handler;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.fun.feifun.modules.business.constant.InterfaceConstant;
import com.fun.feifun.modules.business.constant.OrderPayStatusEnum;
import com.fun.feifun.modules.business.constant.OrderStatusEnum;
import com.fun.feifun.modules.business.model.BusinessOrder;
import com.fun.feifun.modules.business.service.IBusinessGoodsService;
import com.fun.feifun.modules.business.service.IBusinessOrderService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author wukefei
 * @date $ $
 */
@Component
public class RefreshOrderJobHandler implements Job {

    @Autowired
    private IBusinessOrderService orderService;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        orderService.reFreshOrderInfo();
    }
}
